package com.jiyinit.web.core.business.service;

import com.jiyinit.web.core.common.util.MessagePush;
import org.springframework.stereotype.Service;

import java.util.HashMap;

/**
 * Created by lr on 2017/12/28.
 */
@Service("core.jpushClientServiceImpl")
public class JpushClientServiceImpl {

    public void send(String channel,HashMap<String,String> sendMessage,String[] users){
        if(channel != null && "".equals(channel) && channel.equals("01")){
            MessagePush messagePush = new MessagePush(sendMessage,users);
        }else{
            MessagePush messagePush = new MessagePush(sendMessage,users,"andriod");
        }
    }
}
